#ifndef _MAIN_H
#define _MAIN_H


///////////////////////////////////////////////////////////////////////////////
// parametres pour l'application
#define APPNAME "DirectX - LIVET"  // nom de la fenetre
const int Isx=640, Isy=480; // taille de la fenetre

///////////////////////////////////////////////////////////////////////////////
// inclusion des headers
#include <windows.h>
#include <windowsx.h>
#include <d3d9.h>
#pragma comment(lib,"d3d9.lib")
#include <d3dx9.h>
#pragma comment(lib,"d3dx9.lib")
#include <dxerr9.h>
#pragma comment(lib,"dxerr9.lib")
#include "util.h"
#include "resource.h"

#include "DXRenderer.h"
#include "SceneManager.h"
#include "Vector3.h"


//-----------------------------------------------------------------------------
// GLOBALS
//-----------------------------------------------------------------------------
HWND                    g_hWnd          = NULL;

float  g_fElpasedTime;
double g_dCurrentTime;
double g_dLastTime;

//Variables de l'application
DXRenderer*     m_Renderer;

#endif
